Running multiple async tasks in a for loop